﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraEditors.Controls;
using PMS.Resources;

namespace PMS.Resources
{
    public class EditorsLocalizer : Localizer
    {
        public override string GetLocalizedString(StringId id)
        {
            string result;
            switch (id)
            {
                case StringId.DateEditClear:
                    result = FormResources.GetString("DateEditClear");
                    break;
                case StringId.DateEditToday:
                    result = FormResources.GetString("DateEditToday");
                    break;
                default:
                    result = base.GetLocalizedString(id);
                    break;
            }

            return result;
        }
    }
}
